<%= form.error_messages %>

<fieldset>
	<dl>
		<dt><%= form.label :title, t(:title, :scope => :activity) %></dt>
		<dd><%= form.text_field :title %></dd>
	</dl>
	<dl>
		<dt><%= form.label :description, t(:description, :scope => :activity) %></dt>
		<dd><%= form.text_area :description, :rows => 10 %></dd>
	</dl>
	<dl>
		<dt><%= form.label :responsible, t(:responsible, :scope => :activity) %></dt>
		<dd><%= form.select :responsible_id, [[t(:choose_one),'']].concat(@project.users.collect{|u| [u.name + (u.id == current_user.id ? ' (' + t(:me) + ')' : ''), u.id]}) %></dd>
	</dl>
	<dl>
		<dt><%= form.label :milestone, t(:milestone, :scope => :activity) %></dt>
		<dd><%= form.select :milestone_id, [[t(:choose_one),'']].concat(@project.milestones.collect{|m| [m.title, m.id]}) %></dd>
	</dl>
	
</fieldset>